﻿using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PYNET.Models
{
    public class User:IdentityUser<int>
    {
        //User Name
        [Required]
        public override string UserName { get; set; }
        //Email
        [Required]
        [DataType("Email")]
        public override string Email { get; set; }
        //Regist Time
        [Required]
        public string RegistTime { get; set; }
        //UserImg
        public string HeadPicture { get; set; }
    }
    public class TIdentityRole : IdentityRole<int>
    {

    }
}
